import App from './App'
import store from './store/index.js'
import tabbar from './pages/index/tabbar.vue'
import box from './components/box.vue'
Vue.component('tabbar', tabbar)
Vue.component('box', box)
// #ifndef VUE3
import Vue from 'vue'
import request from './utils/request.js'
Vue.config.productionTip = false
Vue.prototype.$post = request.request
Vue.prototype.$gopage = request.gopage
Vue.prototype.$store = store
App.mpType = 'app'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
let menuButtonInfo = wx.getSystemInfoSync();
			
Vue.prototype.$bartop = menuButtonInfo.statusBarHeight;
Vue.prototype.$bar = menuButtonInfo;
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
